﻿using System.Collections.Generic;

namespace LINQtoFxCop.Core
{
  public static class ICollectionExtender
  {
    public static void Add<T>(this ICollection<T> source, IEnumerable<T> addition)
    {
      addition.ForEach(element => source.Add(element));
    }
  }
}
